Frontend Forever App
We have a mobile app for you to download and use. And you can unlock many features in the app.
Get it now
Intall Later
Run
HTML
CSS
Javascript
Output
Document
@charset "UTF-8"; @import url(https://fonts.googleapis.com/css?family=Nunito+Sans:300,400,600,700,800); *, :after, :before { box-sizing: border-box; padding: 0; margin: 0; } svg { /* border: 1px solid red; */ position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); height: 150px; width: 150px; } body { margin: 0 auto; height: 100vh; width: 100vw; background: radial-gradient(steelblue, #000); }
console.log("Event Fired") // function shuff(arr) { // let array = arr.slice(); // create a copy to avoid modifying the original array // for (let i = array.length - 1; i > 0; i--) { // const j = Math.floor(Math.random() * (i + 1)); // [array[i], array[j]] = [array[j], array[i]]; // } // return array; // } // let x = [12.5,37.5,62.5,87.5]; // let startX = [7.5,21.5,35.5,50,64.5,78.5,92.5]; // function go() { // let mm = ''; // for (let i = 0; i < startX.length; i++) { // let sX = shuff(x); // Now we have a shuffled array // console.log(sX); // let path = `
// `; // mm += path; // } // return mm; // } // console.log(go());